
/*
  搜索区、列表统一样式
*/
.container {
  padding: 20px;
  border-radius: 5px;
  background-color: #fff;

  .el-form-item {
    margin-right: 20px;
  }
  .el-divider {
    margin: 0;
  }
  .handleBtn {
    margin: 15px 0;
    .el-button {
      width: 100px;
      background: #165dff; 
      border-color: #165dff;
    }
  }
  .el-table {
    margin: 15px 0 20px 0;
  }
  .el-pagination {
    text-align: center;
  }

  /*
    表格操作按钮分割线
  */
  .line {
    margin: 0 5px;
    color: #e8e8e8;
  }
}

/*
  启用、禁用按钮统一样式
*/

::v-deep .el-switch {
  position: relative;
  height: 26px;
  line-height: 26px;
  border: 1px solid #ccc;
  border-radius: 4px;
  &.is-checked {
    .el-switch__core {
      &:after {
        margin-left: -50%;
        margin-top: -1px;
      }
    }
  }
  .el-switch__label,
  .el-switch__core {
    width: 70px !important;
    height: 24px;
  }
  .el-switch__core {
    border-radius: 4px;
    border: none;
    background: #f1f1f1;
    &:after {
      // box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
      width: 35px;
      height: 24px;
      margin-top: -1px;
      margin-left: -1px;
      border-radius: 4px;
    }
  }
  .el-switch__label.is-active {
    color: #333;
  }
  .el-switch__label--right {
    margin-left: 0px;
    &.is-active {
      color: #fff;
      right: 40px;
    }
    position: absolute;
    right: 6px;
    top: 0px;
    color: #999;
    text-align: right;
    > span {
      font-size: 12px;
      font-weight: normal;
    }
  }
}
.el-switch.is-checked {
  .el-switch__core {
    width: 35px;
    border-color: #ececec;
    background-color: #ececec;
  }
}
.el-switch.is-disabled {
  opacity: 1;
}
.el-switch.is-disabled .el-switch__core,
.el-switch.is-disabled .el-switch__label {
  cursor: pointer !important;
}